#ifndef __OC_Window_H__
#define __OC_Window_H__

#include "Viewport.h"

namespace OCPP
{
	class _openGLExport Window
	{
	public:
		Window(int width, int height);
		~Window();
		bool shouldClose();
		void createViewport(int x,int y,int width,int height);
		void makeViewport();
		void makeContextCurrent();
		GLFWwindow* getWindow() { return mWindow; }
		int getWidth() {
			return mWidth;
		}
		int getHeight() {
			return mHeight;
		}
	private:
		int mWidth, mHeight;
		GLFWwindow*		mWindow;
		Viewport*		mViewport;
	};
}

#endif // !__OC_WINDOW_H__
